{"version":3,"sources":["EventListener.ts"],"names":["EventListener","props","defaultProps","capture"],"mappings":";;;;;AAAA;;AAGO,SAASA,aAAT,CAA6CC,KAA7C,EAA6E;AAClF,0CAAiBA,KAAjB;AAEA,SAAO,IAAP;AACD;;AAEDD,aAAa,CAACE,YAAd,GAA6B;AAC3BC,EAAAA,OAAO,EAAE;AADkB,CAA7B","sourcesContent":["import { useEventListener } from './useEventListener';\nimport { EventListenerOptions, EventTypes } from './types';\n\nexport function EventListener<T extends EventTypes>(props: EventListenerOptions<T>) {\n  useEventListener(props);\n\n  return null;\n}\n\nEventListener.defaultProps = {\n  capture: false,\n};\n"],"file":"EventListener.js"}